﻿namespace EasyCMS.Common
{
    using System;

    [System.ServiceModel.ServiceContractAttribute(ConfigurationName = "EasyCMS.Common.ISetup")]
    public interface ISetup
    {
        /// <summary>
        /// 初始化安装
        /// </summary>
        [System.ServiceModel.OperationContractAttribute(IsOneWay = false, Action = "http://tempuri.org/EasyCMS.Common.ISetup/Install", ReplyAction = "http://tempuri.org/ISetup/InstallResponse")]
        void Install();

        /// <summary>
        /// 反安装
        /// </summary>
        [System.ServiceModel.OperationContractAttribute(IsOneWay = false, Action = "http://tempuri.org/EasyCMS.Common.ISetup/UnInstall", ReplyAction = "http://tempuri.org/ISetup/UnInstallResponse")]
        void UnInstall();
    }
}
